<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>FSFN</title>
	<link rel="STYLESHEET" type="text/css" href="sacwis.css">
	<script>
		function init() {
			window.dialogHeight="160px";
			window.dialogWidth="500px";		    
		 
		 	if (window.dialogArguments) {
				var passedArg = window.dialogArguments;
				
				var title = passedArg.title;
				var button = passedArg.button;

			    if (button == "OK")
				    button = "Close";
				
			    //  set the buttons to display
				var divToDisplay = "div" + button;
				with (eval(divToDisplay).style)	{
					display="";//inline";
				}

				if (title.indexOf("\<b\>") < 0 ) {
					document.getElementById('pTitle').style.fontWeight = "bold";					
				}
				//  set the title
				document.getElementById('pTitle').innerHTML = title;
				
				// ADA Change : This change is to set the focus on the corresponding 
				// button. Developer -- Prakash
				// START
				try {
					if(button == 'Close') {
						document.getElementById('close2But').focus();
					} else if(button == 'YesNo') {
						document.getElementById('s2But').focus();
					} else if(button == 'YesNoCancel') {
						document.getElementById('s1But').focus();
					} else if(button == 'IgnoreReturn') {
						document.getElementById('s2But').focus();
					}
				} catch(ex){ //alert("In the ERROR");
				}
				// END
			}
		}
	</script>
<META name="GENERATOR" content="IBM WebSphere Studio">
</head>

<br>

<body style="margin:10px;border:1px solid #666698;" scroll="no" onload="init()" bgcolor="#ffe4c4">

	<p id="pTitle" class="SectionSubTitle" 
	   style="border-style:none; height:60px; overflow:auto; text-align:center; font-size:9pt;"></p>
	
	<div id="divYesNoCancel" position:absolute; top:180px; left:10px; width:370px; border-top: 1px solid #396BC6; padding-top: 12px; padding-bottom: 12px; align="center" style="display:none;">
		<button class="button" style="width:60px;" onclick="window.returnValue='YES'; window.close();" id='s1But'>Yes</button>&nbsp;
		<button class="button" style="width:60px;" onclick="window.returnValue='NO'; window.close();" id='no1But'>No</button>&nbsp;
		<button class="button" style="width:60px;" onclick="window.returnValue='CANCEL'; window.close();" id='close1But'>Cancel</button>
	</div>
	
	<div id="divYesNo" position:absolute; top:180px; left:10px; width:370px; border-top: 1px solid #396BC6; padding-top: 12px; padding-bottom: 12px; align="center" style="display:none;">
		<button class="button" style="width:60px;" onclick="window.returnValue='YES'; window.close();" id='s2But'>Yes</button>&nbsp;
		<button class="button" style="width:60px;" onclick="window.returnValue='NO'; window.close();" id='no2But'>No</button>&nbsp;
	</div>

	<div id="divClose" position:absolute; top:180px; left:10px; width:370px; border-top: 1px solid #396BC6; padding-top: 12px; padding-bottom: 12px; align="center"  style="display:none;">
		<button class="button" style="width:100px;" onclick="window.returnValue='OK'; window.close();" id='close2But'>Close</button>&nbsp;
	</div>
	<div id="divIgnoreReturn" position:absolute; top:180px; left:10px; width:370px; border-top: 1px solid #396BC6; padding-top: 12px; padding-bottom: 12px; align="center"  style="display:none;">
		<button class="button" style="width:60px;" onclick="window.returnValue='YES'; window.close();" id='s2But'>Ignore</button>&nbsp;
		<button class="button" style="width:60px;" onclick="window.returnValue='NO'; window.close();" id='no2But'>Return</button>&nbsp;	
	</div>
	
</body>
</html>
